<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <script>
        var a = 5/2; //2.5
        a = 5/0; //Infinity无穷
        console.log(a);
        
        //==，只比较数据，其中存在数据类型的自动转换
        console.log(1==true);
        
        //===，比较数据和数据类型
        console.log(1===true);

    </script>
</body>
</html>